package com.kotlin.flong.reflection

/**
 * @Author:liangjl
 * @Date: 2020/7/11-22:11
 * @Eamil:jilongliang@sina.com
 * @Description:
 */

class MyTestClass<K, V> {
    var k: K? = null
    var v: V? = null
}


fun main() {
    var myTestClass = MyTestClass::class
    println(myTestClass.typeParameters)
    println(myTestClass.typeParameters.size)
    println("First" + myTestClass.typeParameters[0])
    println("Second" + myTestClass.typeParameters[1])
}